/*    */ package com.qmsk.business.manage.cust.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class CustShopDAO extends SupportDAO
/*    */ {
/*    */   public Integer insertParams(Object[] params)
/*    */     throws SQLException
/*    */   {
/* 56 */     return Integer.valueOf(update("insert_shop_cust", params));
/*    */   }
/*    */ 
/*    */   public int deleteParams(String[] strParams) throws SQLException {
/* 60 */     return update("deleteCustShopOfId", strParams);
/*    */   }
/*    */ 
/*    */   public int deleteCustShopOfCustId(String[] strParams, Long shopId) throws SQLException
/*    */   {
/* 65 */     Map params = new HashMap();
/* 66 */     params.put("custId", strParams);
/* 67 */     params.put("shopId", shopId);
/* 68 */     return update("deleteCustShopOfCustId", params);
/*    */   }
/*    */ 
/*    */   public Integer exitsShopCust(Long custId, Long shopId) throws SQLException {
/* 72 */     Object[] params = { custId, shopId };
/*    */ 
/* 74 */     return queryForInt("exitsShopCust", params, Integer.valueOf(0));
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.manage.cust.dao.CustShopDAO
 * JD-Core Version:    0.5.3
 */